#include "scr_enemy.h"
#include "scr_enemy_behavior.h"

SCREnemy::SCREnemy()
	: m_Active(0)
	, m_X(0)
	, m_Y(0)
	, m_Heading(0)
	, m_Speed(0)
	, m_DecisionTime(0)
	, m_Behavior(0)
{
}

void SCREnemy::Update(const int& Delta)
{
	if (m_Behavior && m_Active)
	{
		m_Behavior->Update(this, Delta);
	}
}

void SCREnemy::Render(const int& Delta)
{
	if (m_Behavior && m_Active)
	{
		m_Behavior->Render(this, Delta);
	}
}
